package com.aaa.three.controller;

import com.aaa.three.result.AjaxResult;
import com.aaa.three.service.NewsConditionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @Author: whf
 * @Date: 2022/2/19 10:02
 */
@RestController
@RequestMapping("condition")
public class NewsConditionController {

    @Autowired
    private NewsConditionService newsConditionService;

    @RequestMapping("newsConditionList")
    public AjaxResult newsConditionList() {
        return newsConditionService.newsConditionList();
    }

}
